home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Apple II Sample Code / Sample Code Notes (ProDOS) / SCN18AccessPriv < prev    next >
Encoding:
Text File  |  1990-07-02  |  1.8 KB  |  47 lines  |  [TEXT/pdos]

  1. Apple II
  2. Sample Code Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6. #18:    AccessPriv
  7.  
  8. Version:    3.0                                                     June 1990
  9.  
  10. APW Components:    MPW Components:
  11.  
  12. AP.c               AP.c
  13. AP.h               AP.h
  14. UEvent.c           UEvent.c
  15. UGlobals.c         UGlobals.c
  16. UMenu.c            UMenu.c
  17. UWindow.c          UWindow.c
  18. AP.rez             AP.r
  19. AP.Link            MakeFile
  20. Build
  21. Build.r
  22. Full.Build
  23.  
  24. This program demonstrates issuing calls to the GS/OS AppleShare File System 
  25. Translator (AppleShare FST).
  26. _____________________________________________________________________________
  27.  
  28. The AppleShare FST calls made by AccessPriv are made from the uWindow.c file 
  29. and include the calls GetPrivileges, SetPrivileges, and UserInfo.  Other 
  30. System Software 5.0 features utilized in this program include resources, the 
  31. SFMultiGet2 call for getting a folder selection from a user, static text
  32. controls with programmable substitution text, and the Window  Manager
  33. ErrorWindow routine with GS/OS and toolbox calls.  The workings of the 
  34. program are mostly contained in the CurrentPrivs, NewPrivs, and ChooseFolder 
  35. routines in the uWindow.c file and the subroutines they call.  This program is 
  36. adapted from Sample Code #2, BusyBox, which features calls to NewWindow2 and 
  37. the newly enhanced TaskMaster.
  38.  
  39. APW users need APW v.1.0, APW Tools & Interfaces v.1.1, APW C v.1.0, and Apple 
  40. IIGS System Software 5.0.2 or later.  Three APW command files, Full.Build, 
  41. Build, and Build.r allow you to perform complete or partial rebuilds of the 
  42. load file AccessPriv.
  43.  
  44. MPW IIGS users need MPW v.3.0, MPW IIGS Tools v.1.1, and MPW IIGS C v.1.0 or 
  45. later.  The name needed by the MPW Build menu's Build option can be found in 
  46. the MakeFile.
  47.